package lab.gene.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "primer_sequence")
public class PrimerSequence implements Serializable {
	
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name="id")
	private int id;

	@ManyToOne(targetEntity = Gene.class)
    @JoinColumn(name = "genename")
	private Gene gene;
	public Gene getGene() {
		return gene;
	}
	public void setGene(Gene gene) {
		this.gene = gene;
	}
	
	@Column(name="primer")
	private String primer;
	@Column(name="plate")
	private String plate;
	@Column(name="well")
	private String well;
	@Column(name="seq")
	private String sequence;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

	public String getPrimer() {
		return primer;
	}
	public void setPrimer(String primer) {
		this.primer = primer;
	}
	public String getPlate() {
		return plate;
	}
	public void setPlate(String plate) {
		this.plate = plate;
	}
	public String getWell() {
		return well;
	}
	public void setWell(String well) {
		this.well = well;
	}
	public String getSequence() {
		return sequence;
	}
	public void setSequence(String sequence) {
		this.sequence = sequence;
	}


}
